<?php


namespace app\member\model;

use think\Model;
class UserType extends Model
{
	public function getList($user_type_id=0){
		if(empty($user_type_id)){
			return $this->cache("3600")->select();
		}elseif($user_type_id == '3'){
			return $this->where(["type_id"=>2])->select();
		}elseif($user_type_id == '4'){
			//halt($this->where("type_id","in",["2","3"])->fetchSql(1)->select());
			return $this->where("type_id","in",["2","3"])->select();
		}
	}
}